package com.ihr360.oneclick.entity;

import java.util.Date;
import java.util.List;

/**
 * 电子表格 行数据
 *
 * @author tom
 */
public class SpreadsheetRow {

    private String id;

    /**
     * 电子表格ID
     */
    private String spreadsheetId;

    /**
     * 员工ID
     */
    private String staffRecordId;

    /**
     * 功能ID
     */
    private String termId;

    /**
     * 公司ID
     */
    private String companyId;

    /**
     * 所属月份
     */
    private Date month;

    /**
     * 发布状态
     */
    private Boolean publishStatus;

    private String fixedColumn1;

    private String fixedColumn2;

    private String fixedColumn3;

    private String fixedColumn4;

    private String fixedColumn5;

    private String fixedColumn6;

    private String fixedColumn7;

    private String fixedColumn8;

    private String fixedColumn9;

    private String fixedColumn10;

    private Boolean fixedColumn11;

    /**
     * 行号
     */
    private int rowIndex;

    /**
     * 表头ID
     */
    private String rowHeaderId;

    /**
     * 存放行内所有数据
     */
    /*private byte[] data;*/
    private List<Object> data;

    private Date createdAt;

    private Date updatedAt;

    /**
     * 证件号码
     */
    private String idCardNo;

    /**
     * 手机号码
     */
    private String mobileNo;

    /**
     * 姓名
     */
    private String userName;

    /**
     * 邮箱
     */
    private String email;

    public SpreadsheetRow() {
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSpreadsheetId() {
        return spreadsheetId;
    }

    public void setSpreadsheetId(String spreadsheetId) {
        this.spreadsheetId = spreadsheetId;
    }

    public String getStaffRecordId() {
        return staffRecordId;
    }

    public void setStaffRecordId(String staffRecordId) {
        this.staffRecordId = staffRecordId;
    }

    public String getTermId() {
        return termId;
    }

    public void setTermId(String termId) {
        this.termId = termId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Boolean getPublishStatus() {
        return publishStatus;
    }

    public void setPublishStatus(Boolean publishStatus) {
        this.publishStatus = publishStatus;
    }

    public String getFixedColumn1() {
        return fixedColumn1;
    }

    public void setFixedColumn1(String fixedColumn1) {
        this.fixedColumn1 = fixedColumn1;
    }

    public String getFixedColumn2() {
        return fixedColumn2;
    }

    public void setFixedColumn2(String fixedColumn2) {
        this.fixedColumn2 = fixedColumn2;
    }

    public String getFixedColumn3() {
        return fixedColumn3;
    }

    public void setFixedColumn3(String fixedColumn3) {
        this.fixedColumn3 = fixedColumn3;
    }

    public String getFixedColumn4() {
        return fixedColumn4;
    }

    public void setFixedColumn4(String fixedColumn4) {
        this.fixedColumn4 = fixedColumn4;
    }

    public String getFixedColumn5() {
        return fixedColumn5;
    }

    public void setFixedColumn5(String fixedColumn5) {
        this.fixedColumn5 = fixedColumn5;
    }

    public String getFixedColumn6() {
        return fixedColumn6;
    }

    public void setFixedColumn6(String fixedColumn6) {
        this.fixedColumn6 = fixedColumn6;
    }

    public String getFixedColumn7() {
        return fixedColumn7;
    }

    public void setFixedColumn7(String fixedColumn7) {
        this.fixedColumn7 = fixedColumn7;
    }

    public String getFixedColumn8() {
        return fixedColumn8;
    }

    public void setFixedColumn8(String fixedColumn8) {
        this.fixedColumn8 = fixedColumn8;
    }

    public String getFixedColumn9() {
        return fixedColumn9;
    }

    public void setFixedColumn9(String fixedColumn9) {
        this.fixedColumn9 = fixedColumn9;
    }

    public String getFixedColumn10() {
        return fixedColumn10;
    }

    public void setFixedColumn10(String fixedColumn10) {
        this.fixedColumn10 = fixedColumn10;
    }

    public Boolean getFixedColumn11() {
        return fixedColumn11;
    }

    public void setFixedColumn11(Boolean fixedColumn11) {
        this.fixedColumn11 = fixedColumn11;
    }

    public int getRowIndex() {
        return rowIndex;
    }

    public void setRowIndex(int rowIndex) {
        this.rowIndex = rowIndex;
    }

    public String getRowHeaderId() {
        return rowHeaderId;
    }

    public void setRowHeaderId(String rowHeaderId) {
        this.rowHeaderId = rowHeaderId;
    }

    /*public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public String getDataStr() {
        return new String(data, StandardCharsets.UTF_8);
    }

    public void setDataStr(String data) {
        this.data = data.getBytes();
    }*/

    public List<Object> getData() {
        return data;
    }

    public void setData(List<Object> data) {
        this.data = data;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }

    public Date getMonth() {
        return month;
    }

    public void setMonth(Date month) {
        this.month = month;
    }

    public String getEmail() { return email; }

    public void setEmail(String email) { this.email = email; }
}